﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using MySkiPatrolEntity;
using MySkiPatrolBLL;

namespace MySkiPatrolWS
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Article" in code, svc and config file together.
    public class Article : IArticle
    {
        ArticleBLO BLO = new ArticleBLO();

        public ArticleList GetArticles(ArticleRequest data)
        {
            return BLO.GetArticles(data);
        }


        public MySkiPatrolEntity.Article GetArticle(MySkiPatrolEntity.Article data)
        {
            return BLO.GetArticle(data);
        }

        public MySkiPatrolEntity.Article PutArticle(MySkiPatrolEntity.Article data)
        {
            return BLO.PutArticle(data);
        }
    }
}
